﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="DetailTest.aspx.cs" Inherits="EXAM.DetailTest"  %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <h2 class="art-postheader">
        Test History
    </h2>
    <p>
        <asp:Literal ID="lbName" runat="server"></asp:Literal>
    </p>
    <div class="cleared">
    </div>
    <telerik:RadButton ID="btnLearn" runat="server" OnClick="btnLearn_Click" 
    Text="Learning" Skin="Sunset">
    </telerik:RadButton>
    <div class="cleared">
    </div>
    <div class="art-postcontent">
        <telerik:RadGrid ID="dgvList" runat="server" AutoGenerateColumns="False" GridLines="None"
            OnItemDataBound="dgvList_ItemDataBound" OnNeedDataSource="dgvList_NeedDataSource"
            Skin="Sunset" AllowFilteringByColumn="True" AllowPaging="True" OnGroupsChanging="dgvList_GroupsChanging"
            ShowGroupPanel="True">
            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
            </HeaderContextMenu>
            <MasterTableView>
                <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="No" FilterControlAltText="Filter column1 column"
                        HeaderText="No" UniqueName="column1" Visible="False">
                        <ItemStyle Width="50px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Line" FilterControlAltText="Filter column2 column"
                        HeaderText="Line" UniqueName="column2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="QuestName" FilterControlAltText="Filter column column"
                        HeaderText="Question" UniqueName="column3">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ANAL_Q0" FilterControlAltText="Filter column4 column"
                        HeaderText="Product" UniqueName="column4">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ANAL_Q1" FilterControlAltText="Filter column column"
                        HeaderText="Feature" UniqueName="column">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" HeaderText="Result"
                        UniqueName="TemplateColumn">
                        <ItemTemplate>
                            <asp:Image ID="img" runat="server" ImageUrl="images/wrong.png" /></ItemTemplate>
                        <ItemStyle Width="40px" />
                    </telerik:GridTemplateColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <ClientSettings AllowDragToGroup="True">
            </ClientSettings>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
        </telerik:RadGrid>
    </div>
</asp:Content>
